<!--
Title: Page top
Filename: pagetop.php
Author: Justin Cronk
Date: Nov 7, 2012
This is for the frames. The top part of all pages so the frames are included.
-->
<html>
<head>

   <title><?php print ($pageTitle); ?></title>
   <link rel="icon" href="media/favicon.ico" />
   <link rel="stylesheet" type="text/css" href="styles/gframestyle.css" />  

	<script type='text/javascript'>
		
		function link(i)//for onclick of table details
			{
			window.location.assign(i);
			}
		
		var textColor = 'White';
		
		function textOver(i)// changes text color on mouse over
			{
			var linkButton= document.getElementById(i);
			linkButton.style.color = 'Gainsboro';
			}
			
		function textOut (i)
			{
			var linkButton = document.getElementById(i);
			linkButton.style.color = 'White';
			}
</script>

</head>
<body style="background-color:#C9C9C9;">
	<div id="header">
		<div class="login">
		
		<?php
			session_start();
			echo '<div style="color:white">';
			include("login.php");
			echo '</div>';
		?>
		</div>
		
		<table><tr>
		<td><h1>Travel Experts</h1></td>
		<td><img height = "50" src="media/photo6.gif" /></td>
		<tr><td colspan="2">
		<h4>Fast, friendly service. Friendly, fast travel.</h4>
		</td></tr>
		</table>
		<div style="background-color: rgb(60,30,150); font-family:broadway; font-size:1em; color:White;">
		<table>
			<tr>
				<td id='mainLink' onclick='link("gindex.php");' onmouseover='textOver("mainLink");' onmouseout='textOut("mainLink");' style='padding-left:50px;padding-right:50px;';>Main Page</td>
				<td id='packageLink' onclick='link("package.php");' onmouseover='textOver("packageLink");' onmouseout='textOut("packageLink");' style='padding-left:50px;padding-right:50px;';>Packages</td>
				<td id='loginLink' onclick='link("loginpage.php");' onmouseover='textOver("loginLink");' onmouseout='textOut("loginLink");' style='padding-left:50px;padding-right:50px;';>Login</td>
				<td id='contactLink' onclick='link("gcontact.php");' onmouseover='textOver("contactLink");' onmouseout='textOut("contactLink");' style='padding-left:50px;padding-right:50px;';>Contact</td>
			</tr>
		</table>
	</div>
	</div>
	<div id ="main">
